﻿using B.S.BasicData.Api.Read.DTOS;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Read.Application.Command.Approval
{
    public class GetApprovalListCommand:IRequest<ApiPaging<ApprovalListDto>>
    {
        public int pageindex { get; set; } = 1;
        public int pagesize { get; set; } = 10;

        /// <summary>
        /// 登录人(姓名)
        /// </summary>
        public long ?UserId { get; set; }
        public string? UserName { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime ?StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public bool? Status { get; set; }
    }
}
